package com.bkgy.modular.qualityCheckRecord.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bkgy.modular.qualityCheckRecord.entity.QualityCheckRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface QualityCheckRecordMapper extends BaseMapper<QualityCheckRecord> {
    List<QualityCheckRecord> findByData(
            @Param("pageIndex") Integer pageIndex,
            @Param("pageSize") Integer pageSize,
            @Param("condition") Object condition
    );

    Integer findByDataCount(@Param("condition") Object condition);
    Integer updateData(@Param("extid") String extid,@Param("condition") Object condition);
}
